package com.roncoo.education.system.service.dao.impl.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hhg
 * @since 2020-04-01
 */
public class SysDictionaries extends Model<SysDictionaries> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String type;

    private String typeName;

    private Long parentId;

    private LocalDateTime gmtCreate;

    private String statusId;

    public Long getId() {
        return id;
    }

    public SysDictionaries setId(Long id) {
        this.id = id;
        return this;
    }

    public String getType() {
        return type;
    }

    public SysDictionaries setType(String type) {
        this.type = type;
        return this;
    }

    public String getTypeName() {
        return typeName;
    }

    public SysDictionaries setTypeName(String typeName) {
        this.typeName = typeName;
        return this;
    }

    public Long getParentId() {
        return parentId;
    }

    public SysDictionaries setParentId(Long parentId) {
        this.parentId = parentId;
        return this;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getStatusId() {
        return statusId;
    }

    public void setStatusId(String statusId) {
        this.statusId = statusId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysDictionaries{" +
        "id=" + id +
        ", type=" + type +
        ", typeName=" + typeName +
        ", parentId=" + parentId +
        ", gmtCreate=" + gmtCreate +
        ", statusId=" + statusId +
        "}";
    }
}
